package com.softwarerusher.model;

import java.util.HashSet;
import java.util.Set;

/**
 * TCategory entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TCategory implements java.io.Serializable {

	// Fields

	private Integer categoryId;
	private String categoryName;
	private Set TBooks = new HashSet(0);

	// Constructors

	/** default constructor */
	public TCategory() {
	}

	/** minimal constructor */
	public TCategory(String categoryName) {
		this.categoryName = categoryName;
	}

	/** full constructor */
	public TCategory(String categoryName, Set TBooks) {
		this.categoryName = categoryName;
		this.TBooks = TBooks;
	}

	// Property accessors

	public Integer getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return this.categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Set getTBooks() {
		return this.TBooks;
	}

	public void setTBooks(Set TBooks) {
		this.TBooks = TBooks;
	}

}